package UIFree.graphicTools.color
{
	import UIFree.graphicTools.color.palettes.uif_RGBPaletteView;
	import UIFree.graphicTools.color.palettes.uif_basePaletteView;
	import UIFree.uif_component;
	import UIFree.uif_ecomponent;
	
	import flash.geom.Rectangle;
	
	public class uif_rgbPalette extends uif_baseColorCtrl {
		public function uif_rgbPalette(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, styleClass:Object='') {
			super(parent, ax, ay, awidth, aheight, styleClass);
		}
		
		override protected function createPalette(rect:Rectangle):uif_basePaletteView {
			var a_palette: uif_RGBPaletteView = new uif_RGBPaletteView(this, rect.x, rect.y, rect.width, rect.height, style.palette);
			return a_palette;
		}
	}
}